<include file="Public:header" />
<include file="Public:left" />
<style>
    .add_img .img_case{width: 100px;height: 100px;border:1px solid #000;margin: 0 10px 10px 0;}
    .add_img .img_case img{width: 100%;height:100%;}
    .add_img .img_case:last-child .ld_close{display:none}
    .add_img{display: flex;flex-wrap:wrap;margin: 15px 0 0 125px}
    #param-items tr td{margin-top: 10px;}
</style>
    <section>
        <div class="page_title">
            <h2 class="fl">合同详情</h2>
        </div>
        <ul class="ulColumn2">
            <li>
                <span class="item_name" style="width:120px;">合同名：</span>
                {$data.title}
            </li>
            <li>
                <span class="item_name" style="width:120px;">合同编号：</span>
                {$data.number}
            </li>
            <li>
                <span class="item_name" style="width:120px;">开始时间：</span>
                {$data.start_time|date='Y-m-d H:i:s',###}
            </li>
            <li>
                <span class="item_name" style="width:120px;">到期时间：</span>
                {$data.finish_time|date='Y-m-d H:i:s',###}
            </li>
            <li>
                <span class="item_name" style="width:120px;">签署人：</span>
                {$data.user}
            </li>
            <li>
                <span class="item_name" style="width:120px;">签约公司：</span>
                {$data.company}
            </li>
            <li>
                <span class="item_name" style="width:120px;">联系方式：</span>
                {$data.mobile}
            </li>
            <li>
                <span class="item_name" style="width:120px;">签约公司：</span>
                {$data.company}
            </li>
            <li>
                <span class="item_name" style="width:120px;">合同照片：</span>
                <div class="add_img" >
                    <if condition="$data.img">
                        <volist name="data.img" id="vo" key="k">
                            <div class="img_case" style="position: relative">
                                <img src="__STATIC__/uploads/{$vo}" class="photoup" />
                                <input type="hidden" name="photo[]" value="{$vo}"/>
                            </div>
                        </volist>
                    </if>
                </div>
            </li>
            <li>
                <span class="item_name" style="width:120px;">电子合同：</span>
                <if condition="isset($data['file'])">{$data['file']['file_name']}
                    <a class="btn-default" href="{:url('File/download',array('id'=>$data.file_id))}">下载</a>
                </if>
            </li>
            <li>
                <span class="item_name" style="width:120px;height: 16px;">描述：</span>
                <div style="margin-left: 120px;width:700px;margin-top:-18px;">{$data.content}</div>
            </li>

        </ul>
    </section>

</div>
</section>

</body>
</html>
